home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFUNCS
/
RSCGSTR.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-20
|
789b
|
32 lines
/**************************************************************************
* RSCGSTR.C - Get pointers to object strings from within a tree.
*************************************************************************/
#include "gemfintl.h"
#ifdef GEMFAST_PROTOS
void rsc_gstrings(OBJECT *thetree, short object, char **ppretstr, ...)
#else
void rsc_gstrings(thetree, object, ppretstr)
OBJECT *thetree;
short object;
char **ppretstr;
#endif
{
register OBJECT *ptree;
register char **ppobjstr;
va_list args;
ptree = thetree;
va_start(args, ppretstr);
while (object >= 0) {
ppobjstr = obj_ppstring(&ptree[object]);
*ppretstr = *ppobjstr;
object = va_arg(args, short);
ppretstr = va_arg(args, char **);
}
va_end(args);
}